a {
    text-decoration: none;
    color: #000;
}

a,
label,
button,
input,
select {
    -webkit-tap-highlight-color: transparent;
}
body {
    padding-right: 0 !important;
    /* 解决页面弹框闪动 */
    overflow: auto !important;
    margin: 0 !important;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

.table-loading-box .el-loading-spinner {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.1);
}
.table-loading-box .el-loading-spinner i,
.table-loading-box .el-loading-spinner p {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -10px;
}

.table-loading-box .table-spinner {
    animation: rotate 1s infinite;
    background: url('../assets/images/zhen-loading.png') center/100% no-repeat;
}

// .table-loading-box .el-loading-text {
//     background: url('../assets/images/zhen.png') center/60% no-repeat;
//     width: 100%;
//     height: 100%;
//     position: absolute;
//     text-align: center;
//     top: 50%;
//     left: 45%;
// }
table .iconfont {
    font-size: 12px !important;
}
.error-color {
    color: #f56c6c;
}
.success-color {
    color: #67c23a;
}
.warning-color {
    color: #e6a23c;
}
.primary-color {
    color: #409eff;
}
.info-color {
    color: #909399;
}

/* 居中 */
.align-c {
    text-align: center !important;
}
/* 左右间距10 */
.mlr-10 {
    margin-left: 10px;
    margin-right: 10px;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.el-dialog__header {
    text-align: center;
}
.el-dialog__body {
    padding: 10px 20px !important;
}
.width100 {
    width: 100%;
}

input:-webkit-autofill {
    box-shadow: 0 0 0px 1000px white inset !important;
}
//table中按钮图标左边距
.el-table .el-button [class*='el-icon-'] + span {
    margin-left: -2px !important;
}
.mt15 {
    margin-top: 15px;
}
.mb30 {
    margin-bottom: 30px;
}
.header-btn {
    margin: 10px 30px 20px !important;
}

// .el-table .el-table__body-wrapper .el-button [class*='el-icon-'] + span,
// .el-table .el-table__fixed-body-wrapper .el-button [class*='el-icon-'] + span {
//     margin-left: -2px;
// }
// #nprogress .bar {
//     background: #b30404 !important; //自定义颜色
// }

// .el-menu-item:focus,
// .el-menu-item:hover {
//     background: #409eff;
//     color: #ffffff;
// }

.card-box {
    margin: 12px !important;
    .el-card__body {
        padding: 12px !important;
    }
}

.link-type,
.link-type:focus {
    color: #337ab7;
    cursor: pointer;

    &:hover {
        color: rgb(32, 160, 255);
    }
}
.el-table--mini th,
.el-table--mini td {
    padding: 2px 0;
}

.el-table {
    width: 99.9%;
}

// .el-switch.is-checked .el-switch__core {
//     border-color: #548e14;
//     background-color: #548e14;
// }

#app .sidebar-container .svg-icon {
    margin-right: 12px !important;
    font-size: 16px;
    vertical-align: -0.25rem;
}
